﻿using System;
using System.Xml.Serialization;


namespace QAHelper.Common
{
    #region Old Implementation, Using Structure
    //[Serializable]
    //public struct Test_Cases
    //{
    //    public Test_Case[] cases;
    //}
    #endregion
    [Serializable]
    public struct Test_Case
    {
        public string Test_Case_Name;
        public string Description;
        public string Verification_Condition;
        public string Expected_Result;
        public string Actual_Result;
        public string Pass_Fail_Status;
        public string Reason;
        public string Logging_Time;
    }
    

    public class TestLog
    {
        [XmlElement("Test_Case_Name")]
        public string Test_Case_Name
        { get; set; }

        [XmlElement("Verification_Condition")]
        public string Verification_Condition
        { get; set; }

        [XmlElement("Expected_Result")]
        public string Expected_Result
        { get; set; }

        [XmlElement("Actual_Result")]
        public string Actual_Result
        { get; set; }

        [XmlElement("Pass_Fail_Status")]
        public string Pass_Fail_Status
        { get; set; }

        [XmlElement("Reason")]
        public string Reason
        { get; set; }

        [XmlElement("Logging_Time")]
        public string Logging_Time
        { get; set; }
    }
}
